package com.exam.mysql;

import com.exam.entity.SysResourceNote;
import com.exam.entity.SysResourceNoteExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SysResourceNoteDao {
    long countByExample(SysResourceNoteExample example);

    int deleteByExample(SysResourceNoteExample example);

    int deleteByPrimaryKey(Integer noteid);

    int insert(SysResourceNote record);

    int insertSelective(SysResourceNote record);

    List<SysResourceNote> selectByExample(SysResourceNoteExample example);

    SysResourceNote selectByPrimaryKey(Integer noteid);

    int updateByExampleSelective(@Param("record") SysResourceNote record, @Param("example") SysResourceNoteExample example);

    int updateByExample(@Param("record") SysResourceNote record, @Param("example") SysResourceNoteExample example);

    int updateByPrimaryKeySelective(SysResourceNote record);

    int updateByPrimaryKey(SysResourceNote record);

    /**
     * 这是Mybatis Generator拓展插件生成的方法(请勿删除).
     * This method corresponds to the database table sys_resource_note
     *
     * @mbg.generated
     * @author hewei
     */
    int batchInsert(@Param("list") List<SysResourceNote> list);
}